﻿/**
 *    Copyright 2006 - 2011 Opera Software ASA
 *
 *    Licensed under the Apache License, Version 2.0 (the "License");
 *    you may not use this file except in compliance with the License.
 *    You may obtain a copy of the License at
 *
 *        http://www.apache.org/licenses/LICENSE-2.0
 *
 *    Unless required by applicable law or agreed to in writing, software
 *    distributed under the License is distributed on an "AS IS" BASIS,
 *    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 *    See the License for the specific language governing permissions and
 *    limitations under the License.
 *
 **/


 .sortable-table {
  width: 100%;
  border-collapse: collapse;
}

.sortable-table td, .sortable-table th {
  border: 1px solid rgba(0,0,0,0.1);
  padding: 4px 5px 1px 20px;
  text-align: left;
  overflow: hidden;
}

.sortable-table td.align-center {
  text-align: center;
  padding: 4px 5px 1px 5px;
}

.sortable-table td.align-right {
  text-align: right;
  padding: 4px 5px 1px 5px;
}

.sortable-table td.align-justify {
  text-align: justify;
}

.sortable-table th {
  word-wrap: normal;
}

.sortable-table  tr:nth-child(odd) {
  background-color: rgba(0,0,0,0.025);
}

.sort-column {
  background: url(sort_desc.png) no-repeat 6px 5px;
}

.sort-column.reversed {
  background-image: url(sort_asc.png);
}

.sortable-table tr.header {
  background-color: rgba(0,0,0,0.1);
  font-weight: bold;
}

.sortable-table tr.header .sortable-table-group-header {
  text-align: left;
  padding: 2px;
  z-index: 3;
  box-shadow: 0 1px rgba(0,0,0,0.1);
}

.sortable-table tr:not(.header):hover,
.sortable-table tr.header th:not(.sortable-table-group-header):hover 
{
  background-color: rgba(55,115,211,0.2);
  color: #000;
}

.sortable-table tr:not(.header):active,
.sortable-table tr.header th:not(.sortable-table-group-header):active,
.sortable-table tr.selected:not(.header)
{
  background-color: rgba(55,115,211,0.7);
  color: #fff;
  border-color: rgba(55,115,211,1.0);
}
